package com.etc.service.impl;


import com.etc.dao.RoomDao;
import com.etc.service.RoomService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoomServiceImpl implements RoomService {
    @Resource
    private RoomDao roomDao;

    @Override
    public int delBatch(List<Integer> ids) {
        return roomDao.delBatch(ids);
    }

    @Override
    public Integer decide(Integer id) {
        return roomDao.decide(id);
    }

    @Override
    public List<RoomService> findRoomByBuilding(Integer id) {
        return roomDao.findRoomByBuilding(id);
    }

}
